package com.dayaokeji.rhythmschoolstudent.client.mine.group.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dayaokeji.rhythmschoolstudent.R;
import com.dayaokeji.server_api.domain.GroupMember;

/**
 * Created by Gorden on 2017/10/16.
 */

public class GroupMemberListAdapter extends BaseQuickAdapter<GroupMember,BaseViewHolder> {

    public GroupMemberListAdapter() {
        super(R.layout.item_group_member_list, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, GroupMember item) {
        helper.setText(R.id.tv_name,item.getName());
    }
}
